package com.zbec.mdrs.repository.jpa;

import com.zbec.mdrs.entity.ColModelConfig;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * Created by fxl on 2015/10/17.
 */
public interface ColModelConfigDao extends PagingAndSortingRepository<ColModelConfig, Long>, JpaSpecificationExecutor<ColModelConfig> {

   public ColModelConfig findByLoginNameAndBusinessType(String loginName,String businessType);
}
